package com.exam.domain.entity;

public class Answer {
    private Integer recordId;
    private Integer questionId;
    private String selectedOption;
    private Integer score;

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getSelectedOption() {
        return selectedOption;
    }

    public void setSelectedOption(String selectedOption) {
        this.selectedOption = selectedOption;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Answer{" +
                "recordId=" + recordId +
                ", questionId=" + questionId +
                ", selectedOption='" + selectedOption + '\'' +
                ", score=" + score +
                '}';
    }
}
